package com.weixstudio.designmode.builder.demo_1;

/**
 * @ClassName ActorController
 * @Description TODO
 * @Author liangw
 * @Date 2022/4/25 22:40
 * @Version 1.0
 **/
public class ActorController {

    public Actor construct(ActorBuilder ab){
        ab.bulidType();
        ab.buildSex();
        ab.buildFace();
        ab.buildCostume();
        ab.buildHairstyle();
        Actor  actor = ab.createActor();
        return actor;
    }
}
